package com.zlm.Abstract;

/**
 * @author 13026
 */
public abstract class Person {
    private String name;
    private int age;

    public Person() {
    }

    public String getName() {
        return name;
    }

    public int getAge() {
        return age;
    }

    public Person(int age, String name) {
        this.age = age;
        this.name = name;
    }

    public abstract void work();
}
